/** 
 * 文 件 名:HealthSportsModel.java
 * Copyright (C) 2007-2012:杭州希禾信息技术有限公司 版权所有 
 * 创 建 人:刘绍辉
 * 日    期:2012-3-12 下午12:09:00
 * 修 改 人: 
 * 日   期:
 * 修改描述:
 * 描   述:TODO
 */
package net.seehealth.healthpad.model.sportmanage;

import java.util.List;

import net.seehealth.healthpad.application.base.BaseModel;


/**
 * @className HealthFoodModel
 * @author 刘绍辉
 * @description 运动指导
 * @date 2012-3-14 下午14:09:00
 */
public class SportItemModel extends BaseModel {

	private String sportItemNo;// 唯一编号 YD+3位数字
	private String itemName;// 项目名称
	private int itemType;// 从运动参数值中取数据
	private int itemIntension;// 从运动参数值中取数据
	private int newMetValue;// MET
	private int sportNum;// 千步当量数
	private int sportTime;// 当量时间
	private int minAge;// 最小年龄
	private int maxAge;// 最大年龄
	private String oldMetValue;// 原MET数据
	private String dataSource;// 出处
	private List<SportTabooModel> sportTaboos;// 异常

	/**
	 * 空构造
	 */
	public SportItemModel() {
	}

	/**
	 * full构造
	 * 
	 * @param sportItemNo
	 * @param itemName
	 * @param itemType
	 * @param itemIntension
	 * @param newMetValue
	 * @param sportNum
	 * @param sportTime
	 * @param minAge
	 * @param maxAge
	 * @param oldMetValue
	 * @param dataSource
	 * @param sportTaboos
	 */
	public SportItemModel(String sportItemNo, String itemName, int itemType,
			int itemIntension, int newMetValue, int sportNum, int sportTime,
			int minAge, int maxAge, String oldMetValue, String dataSource,
			List<SportTabooModel> sportTaboos) {
		super();
		this.sportItemNo = sportItemNo;
		this.itemName = itemName;
		this.itemType = itemType;
		this.itemIntension = itemIntension;
		this.newMetValue = newMetValue;
		this.sportNum = sportNum;
		this.sportTime = sportTime;
		this.minAge = minAge;
		this.maxAge = maxAge;
		this.oldMetValue = oldMetValue;
		this.dataSource = dataSource;
		this.sportTaboos = sportTaboos;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "HealthSportsModel [sportItemNo=" + sportItemNo + ", itemName="
				+ itemName + ", itemType=" + itemType + ", itemIntension="
				+ itemIntension + ", newMetValue=" + newMetValue
				+ ", sportNum=" + sportNum + ", sportTime=" + sportTime
				+ ", minAge=" + minAge + ", oldMetValue=" + oldMetValue
				+ ", dataSource=" + dataSource + "]";
	}

	public String getSportItemNo() {
		return sportItemNo;
	}

	public void setSportItemNo(String sportItemNo) {
		this.sportItemNo = sportItemNo;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public int getItemType() {
		return itemType;
	}

	public void setItemType(int itemType) {
		this.itemType = itemType;
	}

	public int getItemIntension() {
		return itemIntension;
	}

	public void setItemIntension(int itemIntension) {
		this.itemIntension = itemIntension;
	}

	public int getNewMetValue() {
		return newMetValue;
	}

	public void setNewMetValue(int newMetValue) {
		this.newMetValue = newMetValue;
	}

	public int getSportNum() {
		return sportNum;
	}

	public void setSportNum(int sportNum) {
		this.sportNum = sportNum;
	}

	public int getSportTime() {
		return sportTime;
	}

	public void setSportTime(int sportTime) {
		this.sportTime = sportTime;
	}

	public int getMinAge() {
		return minAge;
	}

	public void setMinAge(int minAge) {
		this.minAge = minAge;
	}

	public int getMaxAge() {
		return maxAge;
	}

	public void setMaxAge(int maxAge) {
		this.maxAge = maxAge;
	}

	public String getOldMetValue() {
		return oldMetValue;
	}

	public void setOldMetValue(String oldMetValue) {
		this.oldMetValue = oldMetValue;
	}

	public String getDataSource() {
		return dataSource;
	}

	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}

	public List<SportTabooModel> getSportTaboos() {
		return sportTaboos;
	}

	public void setSportTaboos(List<SportTabooModel> sportTaboos) {
		this.sportTaboos = sportTaboos;
	}
}
